home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…ry 5: (Reseller Edition) / Apple Reference & Presentations Library 5.0 (Reseller Edition).iso / 5-Fonts & Software / Applications / Aldus PageMaker 3.02 / APDs / LaserWriter II NTX.apd < prev    next >
Text File  |  1988-11-20  |  9KB  |  232 lines

  1. @Comment: "LaserWriter II NTX.apd" for Apple LaserWriter II NTX printer.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   1.4  $
  4. @Comment:     $Date:   23 May 1988 12:04:36  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, and 3.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(LaserWriter II NTX)"
  10. @PSVersion: "(47.0)"
  11. @PSRevision: "1"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file, to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "350000"
  21. @Comment: Actual value is @FreeVM: "443000"
  22. @WorkingMem: "25000"
  23. @AldusHeaderMem: "34000"
  24. @Comment: Example of declaration of a downloadable font's memory requirement:
  25. @Comment: @FontMem "Benjo-Light": "82600"
  26.  
  27. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  28. @PatchFile: "userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  29. @AldusPatchFile: ""
  30. @ExitServer: "serverdict begin exitserver "
  31. @Password: "0"
  32.  
  33. @DefaultScreenFreq: "60"
  34. @DefaultScreenAngle: "45"
  35. @DefaultScreenProc: "{dup mul exch dup mul add sqrt 1 exch sub}"
  36.  
  37. @ScreenFreq: ""
  38. @ScreenAngle: ""
  39. @ScreenProc: ""
  40.  
  41. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  42. @Transfer: ""
  43. @InvertTransfer: "{1 exch sub}"
  44.  
  45. @NormalizedTransfer: "{
  46. mark
  47. 1.0 1.0 .98 .86 .76 .64 .54 .45 .36 .24 .11 .0
  48. counttomark dup 3 add -1 roll exch
  49. 2 sub mul dup floor cvi
  50. dup 3 1 roll sub
  51. exch dup 
  52. 3 add index exch 2 add index dup
  53. 4 1 roll
  54. sub mul add
  55. counttomark 1 add 1 roll 
  56. cleartomark
  57. } bind"
  58. @End
  59.  
  60. @InvertNormalizedTransfer: "{
  61. mark
  62. .0 .0 .11 .24 .36 .45 .54 .64 .76 .86 .98 1.0
  63. counttomark dup 3 add -1 roll exch
  64. 2 sub mul dup floor cvi
  65. dup 3 1 roll sub
  66. exch dup 
  67. 3 add index exch 2 add index dup
  68. 4 1 roll
  69. sub mul add
  70. counttomark 1 add 1 roll 
  71. cleartomark
  72. } bind"
  73. @End
  74.  
  75. @Comment: Assumes a file system.
  76. @?FontList: "save /SC 100 string def FontDirectory{pop = flush}forall
  77. (fonts/*){dup length 6 sub 6 exch getinterval = flush}SC filenameforall(*)= flush restore"
  78. @End
  79. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  80. @Comment: If 11 or more saves, VM query makes memory look full, PM will flush fonts.
  81. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  82. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  83. @End
  84. @?OutputOrder: "pagestackorder {(facedown)}{(faceup)} ifelse = flush"
  85. @Comment: Paper tray query compares returned value with selected PageSize,
  86. @Comment:    up to length of returned value only: i.e, "A4" matches "A4small"
  87. @?PaperTray: "mark () statusdict /printerstatus known {
  88. userdict /T statusdict /printerstatus get exec 16#07E and put 
  89.  T 2 eq {(A4)} if T 8 eq {(Letter)} if T 24 eq {(Legal)} if} if 
  90.  = flush cleartomark"
  91. @End
  92.  
  93. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  94. @DefaultPageSize:        "Letter"
  95. @PageSize Letter:        "letter"
  96. @PageSize Lettersmall:    "lettersmall"
  97. @PageSize A4:            "a4"
  98. @PageSize A4small:        "a4small"
  99. @PageSize B5:            "b5"
  100. @PageSize Legal:        "legal"
  101.  
  102. @Comment: Use the "@?PaperTray" query instead of "_tray" commands to verify correct tray.
  103.  
  104. @Comment: PageRegion gives the printable area of each paper option.
  105. @PageRegion Letter:         "15 7.92 597 784.08"
  106. @PageRegion Lettersmall:     "29.52 30.24 582.48 761.76"
  107. @PageRegion A4:             "14 10 576 832"
  108. @PageRegion A4small:         "27 30.24 567 811.44"
  109. @PageRegion B5:             "17.28 2.88 481.68 705.60"
  110. @PageRegion Legal:             "15 7.92 597 1000.08"
  111.  
  112. @Comment: PaperDimension gives the total paper size of each option.
  113. @PaperDimension Letter:         "612 792"
  114. @PaperDimension Lettersmall:     "612 792"
  115. @PaperDimension A4:             "595.28 841.89"
  116. @PaperDimension A4small:         "595.28 841.89"
  117. @PaperDimension B5:             "498.90 708.66"
  118. @PaperDimension Legal:             "612 1008"
  119.  
  120. @DefaultOutputOrder: "facedown"
  121.  
  122. @ManualFeed true: "statusdict begin /manualfeed true def end"
  123. @ManualFeed false: "statusdict begin /manualfeed false def end"
  124.  
  125. @DefaultFont: "Courier"
  126. @Font "Times-Roman": "Standard" "(001.000)"
  127. @Font "Times-Bold": "Standard" "(001.000)"
  128. @Font "Times-Italic": "Standard" "(001.000)"
  129. @Font "Times-BoldItalic": "Standard" "(001.000)"
  130. @Font "Helvetica": "Standard" "(001.000)"
  131. @Font "Helvetica-Bold": "Standard" "(001.000)"
  132. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  133. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  134. @Font "Courier": "Standard" "(001.000)"
  135. @Font "Courier-Bold": "Standard" "(001.000)"
  136. @Font "Courier-Oblique": "Standard" "(001.000)"
  137. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  138. @Font "Symbol": "Standard" "(001.000)"
  139. @Font "Palatino-Roman": "Standard" "(001.000)"
  140. @Font "Palatino-Italic": "Standard" "(001.000)"
  141. @Font "Palatino-Bold": "Standard" "(001.000)"
  142. @Font "Palatino-BoldItalic": "Standard" "(001.000)"
  143. @Font "AvantGarde-Book": "Standard" "(001.000)"
  144. @Font "AvantGarde-BookOblique": "Standard" "(001.000)"
  145. @Font "AvantGarde-Demi": "Standard" "(001.000)"
  146. @Font "AvantGarde-DemiOblique": "Standard" "(001.000)"
  147. @Font "Bookman-Light": "Standard" "(001.000)"
  148. @Font "Bookman-LightItalic": "Standard" "(001.000)"
  149. @Font "Bookman-Demi": "Standard" "(001.000)"
  150. @Font "Bookman-DemiItalic": "Standard" "(001.000)"
  151. @Font "Helvetica-Narrow": "Standard" "(001.000)"
  152. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.000)"
  153. @Font "Helvetica-Narrow-Bold": "Standard" "(001.000)"
  154. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.000)"
  155. @Font "NewCenturySchlbk-Roman": "Standard" "(001.000)"
  156. @Font "NewCenturySchlbk-Italic": "Standard" "(001.000)"
  157. @Font "NewCenturySchlbk-Bold": "Standard" "(001.000)"
  158. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.000)"
  159. @Font "ZapfChancery-MediumItalic": "Standard" "(001.000)"
  160. @Font "ZapfDingbats": "Standard" "(001.000)"
  161.  
  162.  
  163. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  164. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  165.  
  166. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  167.                 : "Printer “^2” needs attention: paper jam."
  168. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  169.                 : "Printer “^2” needs attention: \Reason\."
  170.  
  171. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  172.                 : "Printer “^2” needs attention: paper jam."
  173. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  174.                 : "Printer “^2” needs attention: \Reason\."
  175.  
  176. @ParameterReason    "no paper tray" :         "no paper tray"
  177. @ParameterReason    "out of paper" :         "out of paper"
  178. @ParameterReason    "cover open" :             "cover open"
  179. @ParameterReason    "warming up" :             "warming up"
  180. @ParameterReason    "service call" :         "service call"
  181. @ParameterReason    "resetting printer" :     "resetting printer"
  182. @ParameterReason    "cover open" :             "cover open"
  183. @ParameterReason    "timeout, clearing printer" : "timeout"
  184. @ParameterReason    "timeout" :             "timeout"
  185. @ParameterReason    "manual feed timeout" :    "manual feed timeout"
  186. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  187.  
  188.  
  189. @Comment: PrinterMessage displays the translation string in the status line.
  190. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  191.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  192. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  193.                 : "Document: \jobname\;  status: \Status\."
  194. @PrinterMessage     "status: \Status\; source: \source\"
  195.                 : "Status: \Status\."
  196. @PrinterMessage     "\Font1\ not found, using \Font2\"
  197.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  198.  
  199. @ParameterStatus     "idle"    : "idle"
  200. @ParameterStatus     "busy"    : "processing job"
  201. @ParameterStatus     "waiting"    : "preparing data"
  202. @ParameterStatus    "printing"    : "printing"
  203.  
  204. @Comment: a null translation string causes no message to display.
  205. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  206.                 : ""
  207. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  208.                 : ""
  209.  
  210. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  211. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  212. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  213.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  214.  
  215. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  216. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  217.                 : "The font being downloaded has not been initialized for this printer."
  218. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  219.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  220. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  221.                 : "The printer had to wait too long, and went on to the next job; try again."
  222. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  223.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  224. @PrinterErrorAlert    "Fatal system error \error\"
  225.                 : "The printer has encountered an error. Simplify your document or try again."
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.